#ifndef KUKAFORCECONTROLINSTANCE_GLOBAL_H
#define KUKAFORCECONTROLINSTANCE_GLOBAL_H

#include <QtCore/qglobal.h>
#include <QWidget>

#if defined(KUKAFORCECONTROLINSTANCE_LIBRARY)
#  define KUKAFORCECONTROLINSTANCESHARED_EXPORT Q_DECL_EXPORT
#else
#  define KUKAFORCECONTROLINSTANCESHARED_EXPORT Q_DECL_IMPORT
#endif

#define LOCALCONTOLLER 1
#define REMOTEHMI 2
/*****************************************************************************************************************/
KUKAFORCECONTROLINSTANCESHARED_EXPORT short    PLU_KPluginInstanceCreate(short Local_Remote);
KUKAFORCECONTROLINSTANCESHARED_EXPORT short    PLU_KPluginInstanceDelete();
KUKAFORCECONTROLINSTANCESHARED_EXPORT bool     PLU_KPluginInstanceExists();
KUKAFORCECONTROLINSTANCESHARED_EXPORT QWidget* PLU_KPluginInstanceUiRegesiter();
/*****************************************************************************************************************/

KUKAFORCECONTROLINSTANCESHARED_EXPORT void TASK_kukaloop_KUKADataProcess();
/*****************************************************************************************************************/

KUKAFORCECONTROLINSTANCESHARED_EXPORT void TASK_uifast_UiDataUpdate();
KUKAFORCECONTROLINSTANCESHARED_EXPORT void TASK_uifast_ForceScopeUpdate();
KUKAFORCECONTROLINSTANCESHARED_EXPORT void TASK_uifast_RobotScopeUpdate();

KUKAFORCECONTROLINSTANCESHARED_EXPORT void TASK_maininit_ForceSensorConnect();
KUKAFORCECONTROLINSTANCESHARED_EXPORT void TASK_mainloop_ForceSensorLoopRun();

KUKAFORCECONTROLINSTANCESHARED_EXPORT void TASK_RemoteDataRecv(QByteArray Data);
KUKAFORCECONTROLINSTANCESHARED_EXPORT void TASK_RemoteDataSend(QByteArray& Data);

#endif // KUKAFORCECONTROLINSTANCE_GLOBAL_H
